<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="ISO-8859-1"%>
    <%@taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link href="/passeport-animalier/css/main.css" rel="stylesheet" type="text/css"/>
<title> <s:text name="user.connexion"></s:text> </title>

</head>
<body>
	<jsp:include page="../layout/navigation_bar.jsp"/>
	<jsp:include page="../layout/header.jsp"/>
	<!-- Content wrapper -->
		<div class="wrapper">
			<!-- Login form area -->
			<div class="loginWrapper">
				<div class="loginPanel" style="">
					<div class="head"><h5 class="iUser"> <s:text name="user.identification"></s:text>  </h5></div>
					<form action="v_login.action" method="post" id="valid" class="mainForm">
						<fieldset>
						  <s:if test="hasActionErrors()">
							<div class="nNote nFailure hideit">
								<p>
									<s:actionerror/>
								</p>
							</div>
						  </s:if>
							<div class="loginRow noborder">
								<label for="username"> <s:text name="personne.userName" />  </label>
								<div class="loginInput">
									<input value="${userName}" name="userName"  id="userName" type="text">
									<span class="field_error"> <s:property value="errors['userName']"/> </span>
								</div>
								<div class="fix"></div>
							</div>
							
							<div class="loginRow">
								<label for="password"> <s:text name="personne.password"></s:text> </label>
								<div class="loginInput">
									<input value="${password}" name="password"  id="password" type="password"/>
									<span class="field_error"> <s:property value="errors['password']"/> </span>
								</div>
								<div class="fix"></div>
							</div>
							<div class="loginRow">
								<div class="rememberMe">
									<div class="checker">
									  <span> 
									  	<s:checkbox name="remember" id="remember" cssStyle="opacity: 1;" value="%{remember}"> </s:checkbox>
									  </span>
									</div>
									<label for="remember"> <s:text name="user.ResterConnecte"/> </label>
								</div>
								<s:submit value="%{getText('user.identifier')}" cssClass="greyishBtn submitForm" theme="simple"/>
									<div class="fix"></div>
							 </div>		
						</fieldset>
					</form>
				</div>
			</div>
		</div>
</body>
</html>